package com.lp.bean;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.Date;

/**
 * @author thomas.he
 * @Description:
 * @date 2021/7/27 21:15
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class IotVisualDisplayInfo extends BaseBean {
    private Integer id;
    private String name;
    private String keycode;
    private String description;
    private Object content;
    private String config;
    private Integer seq;
    private String remark;
    private Integer scene_id;
    private Integer aid;
    private Date atime;
    private Integer mid;
    private Date mtime;
    private Integer dis_type;
    private Integer node_id;
    private Integer parent_id;
    private Integer openflag;
    private String password;
    private String visitorname;

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getKeycode() {
        return this.keycode;
    }

    public String getDescription() {
        return this.description;
    }

    public Object getContent() {
        return this.content;
    }

    public String getConfig() {
        return this.config;
    }

    public Integer getSeq() {
        return this.seq;
    }

    public String getRemark() {
        return this.remark;
    }

    public Integer getScene_id() {
        return this.scene_id;
    }

    public Integer getAid() {
        return this.aid;
    }

    public Date getAtime() {
        return this.atime;
    }

    public Integer getMid() {
        return this.mid;
    }

    public Date getMtime() {
        return this.mtime;
    }

    public Integer getDis_type() {
        return this.dis_type;
    }

    public Integer getNode_id() {
        return this.node_id;
    }

    public Integer getParent_id() {
        return this.parent_id;
    }

    public Integer getOpenflag() {
        return this.openflag;
    }

    public String getPassword() {
        return this.password;
    }

    public String getVisitorname() {
        return this.visitorname;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setKeycode(String keycode) {
        this.keycode = keycode;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setScene_id(Integer scene_id) {
        this.scene_id = scene_id;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public void setAtime(Date atime) {
        this.atime = atime;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }

    public void setDis_type(Integer dis_type) {
        this.dis_type = dis_type;
    }

    public void setNode_id(Integer node_id) {
        this.node_id = node_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public void setOpenflag(Integer openflag) {
        this.openflag = openflag;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setVisitorname(String visitorname) {
        this.visitorname = visitorname;
    }

    public String toString() {
        return "IotVisualDisplayInfo(id=" + this.getId() + ", name=" + this.getName() + ", keycode=" + this.getKeycode() + ", description=" + this.getDescription() + ", content=" + this.getContent() + ", config=" + this.getConfig() + ", seq=" + this.getSeq() + ", remark=" + this.getRemark() + ", scene_id=" + this.getScene_id() + ", aid=" + this.getAid() + ", atime=" + this.getAtime() + ", mid=" + this.getMid() + ", mtime=" + this.getMtime() + ", dis_type=" + this.getDis_type() + ", node_id=" + this.getNode_id() + ", parent_id=" + this.getParent_id() + ", openflag=" + this.getOpenflag() + ", password=" + this.getPassword() + ", visitorname=" + this.getVisitorname() + ")";
    }

    public IotVisualDisplayInfo() {
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof IotVisualDisplayInfo)) {
            return false;
        } else {
            IotVisualDisplayInfo other = (IotVisualDisplayInfo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label239: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label239;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label239;
                    }

                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$keycode = this.getKeycode();
                Object other$keycode = other.getKeycode();
                if (this$keycode == null) {
                    if (other$keycode != null) {
                        return false;
                    }
                } else if (!this$keycode.equals(other$keycode)) {
                    return false;
                }

                label218: {
                    Object this$description = this.getDescription();
                    Object other$description = other.getDescription();
                    if (this$description == null) {
                        if (other$description == null) {
                            break label218;
                        }
                    } else if (this$description.equals(other$description)) {
                        break label218;
                    }

                    return false;
                }

                label211: {
                    Object this$content = this.getContent();
                    Object other$content = other.getContent();
                    if (this$content == null) {
                        if (other$content == null) {
                            break label211;
                        }
                    } else if (this$content.equals(other$content)) {
                        break label211;
                    }

                    return false;
                }

                Object this$config = this.getConfig();
                Object other$config = other.getConfig();
                if (this$config == null) {
                    if (other$config != null) {
                        return false;
                    }
                } else if (!this$config.equals(other$config)) {
                    return false;
                }

                Object this$seq = this.getSeq();
                Object other$seq = other.getSeq();
                if (this$seq == null) {
                    if (other$seq != null) {
                        return false;
                    }
                } else if (!this$seq.equals(other$seq)) {
                    return false;
                }

                label190: {
                    Object this$remark = this.getRemark();
                    Object other$remark = other.getRemark();
                    if (this$remark == null) {
                        if (other$remark == null) {
                            break label190;
                        }
                    } else if (this$remark.equals(other$remark)) {
                        break label190;
                    }

                    return false;
                }

                label183: {
                    Object this$scene_id = this.getScene_id();
                    Object other$scene_id = other.getScene_id();
                    if (this$scene_id == null) {
                        if (other$scene_id == null) {
                            break label183;
                        }
                    } else if (this$scene_id.equals(other$scene_id)) {
                        break label183;
                    }

                    return false;
                }

                Object this$aid = this.getAid();
                Object other$aid = other.getAid();
                if (this$aid == null) {
                    if (other$aid != null) {
                        return false;
                    }
                } else if (!this$aid.equals(other$aid)) {
                    return false;
                }

                label169: {
                    Object this$atime = this.getAtime();
                    Object other$atime = other.getAtime();
                    if (this$atime == null) {
                        if (other$atime == null) {
                            break label169;
                        }
                    } else if (this$atime.equals(other$atime)) {
                        break label169;
                    }

                    return false;
                }

                Object this$mid = this.getMid();
                Object other$mid = other.getMid();
                if (this$mid == null) {
                    if (other$mid != null) {
                        return false;
                    }
                } else if (!this$mid.equals(other$mid)) {
                    return false;
                }

                label155: {
                    Object this$mtime = this.getMtime();
                    Object other$mtime = other.getMtime();
                    if (this$mtime == null) {
                        if (other$mtime == null) {
                            break label155;
                        }
                    } else if (this$mtime.equals(other$mtime)) {
                        break label155;
                    }

                    return false;
                }

                Object this$dis_type = this.getDis_type();
                Object other$dis_type = other.getDis_type();
                if (this$dis_type == null) {
                    if (other$dis_type != null) {
                        return false;
                    }
                } else if (!this$dis_type.equals(other$dis_type)) {
                    return false;
                }

                Object this$node_id = this.getNode_id();
                Object other$node_id = other.getNode_id();
                if (this$node_id == null) {
                    if (other$node_id != null) {
                        return false;
                    }
                } else if (!this$node_id.equals(other$node_id)) {
                    return false;
                }

                label134: {
                    Object this$parent_id = this.getParent_id();
                    Object other$parent_id = other.getParent_id();
                    if (this$parent_id == null) {
                        if (other$parent_id == null) {
                            break label134;
                        }
                    } else if (this$parent_id.equals(other$parent_id)) {
                        break label134;
                    }

                    return false;
                }

                label127: {
                    Object this$openflag = this.getOpenflag();
                    Object other$openflag = other.getOpenflag();
                    if (this$openflag == null) {
                        if (other$openflag == null) {
                            break label127;
                        }
                    } else if (this$openflag.equals(other$openflag)) {
                        break label127;
                    }

                    return false;
                }

                Object this$password = this.getPassword();
                Object other$password = other.getPassword();
                if (this$password == null) {
                    if (other$password != null) {
                        return false;
                    }
                } else if (!this$password.equals(other$password)) {
                    return false;
                }

                Object this$visitorname = this.getVisitorname();
                Object other$visitorname = other.getVisitorname();
                if (this$visitorname == null) {
                    if (other$visitorname != null) {
                        return false;
                    }
                } else if (!this$visitorname.equals(other$visitorname)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof IotVisualDisplayInfo;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $keycode = this.getKeycode();
        result = result * 59 + ($keycode == null ? 43 : $keycode.hashCode());
        Object $description = this.getDescription();
        result = result * 59 + ($description == null ? 43 : $description.hashCode());
        Object $content = this.getContent();
        result = result * 59 + ($content == null ? 43 : $content.hashCode());
        Object $config = this.getConfig();
        result = result * 59 + ($config == null ? 43 : $config.hashCode());
        Object $seq = this.getSeq();
        result = result * 59 + ($seq == null ? 43 : $seq.hashCode());
        Object $remark = this.getRemark();
        result = result * 59 + ($remark == null ? 43 : $remark.hashCode());
        Object $scene_id = this.getScene_id();
        result = result * 59 + ($scene_id == null ? 43 : $scene_id.hashCode());
        Object $aid = this.getAid();
        result = result * 59 + ($aid == null ? 43 : $aid.hashCode());
        Object $atime = this.getAtime();
        result = result * 59 + ($atime == null ? 43 : $atime.hashCode());
        Object $mid = this.getMid();
        result = result * 59 + ($mid == null ? 43 : $mid.hashCode());
        Object $mtime = this.getMtime();
        result = result * 59 + ($mtime == null ? 43 : $mtime.hashCode());
        Object $dis_type = this.getDis_type();
        result = result * 59 + ($dis_type == null ? 43 : $dis_type.hashCode());
        Object $node_id = this.getNode_id();
        result = result * 59 + ($node_id == null ? 43 : $node_id.hashCode());
        Object $parent_id = this.getParent_id();
        result = result * 59 + ($parent_id == null ? 43 : $parent_id.hashCode());
        Object $openflag = this.getOpenflag();
        result = result * 59 + ($openflag == null ? 43 : $openflag.hashCode());
        Object $password = this.getPassword();
        result = result * 59 + ($password == null ? 43 : $password.hashCode());
        Object $visitorname = this.getVisitorname();
        result = result * 59 + ($visitorname == null ? 43 : $visitorname.hashCode());
        return result;
    }
}
